<h2 class="jquery_tab_title">数据库管理</h2>
<?php if (count($table) > 0):?>
<table id='table_liquid' cellspacing='0'>
	<caption>当前运行的数据库版本为<?php echo $database_info?></caption>
	<tr>
	<th class='nobga'>表名</th>
	<th>记录数</th>
	<th>操作</th>
	</tr>
	
	<?php foreach ($table as $v):?>			
	<tr>
	<th class='specalt'><?php echo $v['table_name']?></th>
	<td class='alt'><?php echo $v['table_rows']?></td>
	<td class='alt'>
		<span><a id='<?php echo $v['table_name']?>' class='table_optimize'>优化</a> | <a id='<?php echo $v['table_name']?>' class='table_repair'>修复</a></span>
	</td>
	</tr>
	<?php endforeach;?>
</table>
<form id='table_backup_form'>
	<input class='button' id='database_backup_submit' type='button' value='备份数据库'/>
	<input class='button' id='database_restore' type='button' value='还原数据库'/>
</form>
<?php else :?>
<strong id='error_msg' style='background: url(/admin_style/images/attention.png) no-repeat; color: #f60;'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;目前尚无数据表</strong>
<?php endif;?>